package com.project.communitymanagement.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.project.communitymanagement.common.BaseEntity;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 
 * 
 */
@Data
public class TbLeaveInfo extends BaseEntity implements Serializable {

    /**
     * 申请人
     */
    private Integer user_id;

    /**
     * 请假原因
     */
    private String content;


    /**
     * 审批原因
     */
    private String content_approval;

    /**
     * 请假类型
     */
    private String type;

    /**
     * 开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date start_time;

    /**
     * 结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date end_time;

    /**
     * 请假合计时间
     */
    private Date total_time;

    /**
     * 审批状态
     */
    private Integer status;

    /**
     * 审批人
     * */
    private Integer approval_user_id;

    private Integer approval_state ;

    private static final long serialVersionUID = 1L;
}